home *** CD-ROM | disk | FTP | other *** search
/ Champak 103 / Vol 103.iso / games / star_cat.swf / scripts / DefineSprite_153 / frame_3 / DoAction.as
Text File  |  2010-03-13  |  263b  |  11 lines

  1. _root.gElapsedTime = Number(_root.gElapsedTime) + Number(0.5);
  2. _root["interface"].timer.gotoAndStop(Math.ceil(_root.gElapsedTime / _root.TOTAL_TIME * 100));
  3. if(_root.gGamePaused == true)
  4. {
  5.    stop();
  6. }
  7. else if(_root.gGamePaused == false)
  8. {
  9.    play();
  10. }
  11.